import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Mock from './mock/index'
import './plugins/element.js'

import { library } from '@fortawesome/fontawesome-svg-core'
import solid from '@fortawesome/fontawesome-free-solid'
import regular from '@fortawesome/fontawesome-free-regular'
import brands from '@fortawesome/fontawesome-free-brands'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'


import VueScroll from 'vuescroll'
import 'vuescroll/dist/vuescroll.css'




library.add(solid, regular, brands)
Vue.component('font-awesome-icon', FontAwesomeIcon)

Vue.use(VueScroll, {ops: {bar: {background: '#C0C4CC'}}})

Mock.mockData()
Vue.config.productionTip = false


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
